package com.aji.biomarker.service.impl;

import com.aji.biomarker.domain.Reference;
import com.aji.biomarker.domain.dto.ReferenceDto;
import com.aji.biomarker.domain.dto.SpeciesDto;
import com.aji.biomarker.mapper.ReferenceMapper;
import com.aji.biomarker.service.ReferenceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 82527
* @description 针对表【reference(参考文献表)】的数据库操作Service实现
* @createDate 2024-05-14 18:49:24
*/
@Service
@RequiredArgsConstructor
public class ReferenceServiceImpl extends ServiceImpl<ReferenceMapper, Reference> implements ReferenceService {

    private final ReferenceMapper referenceMapper;

    @Override
    public List<ReferenceDto> countByRefer() {
        return referenceMapper.count();
    }
}




